{template 'public/header'}
{template 'public/comhead'}
<link rel="stylesheet" type="text/css" href="../addons/zh_tcwq/template/public/ygcsslist.css">


  <div class="row ygrow">
      <div class="col-lg-12">
          <form action="" method="get" class="col-lg-4">
          <input type="hidden" name="c" value="site" />
            <input type="hidden" name="a" value="entry" />
            <input type="hidden" name="m" value="zh_tcwq" />
            <input type="hidden" name="do" value="dmorder" />
              <div class="input-group" style="width: 350px">
                  <input type="text" name="keywords" class="form-control" value="{$_GPC['keywords']}" placeholder="请输入姓名/商家名称">
                  <span class="input-group-btn">
                     <input type="submit" class="btn btn-default" name="submit" value="查找"/>
                  </span>
              </div>
              <input type="hidden" name="token" value="{$_W['token']}"/>
          </form>
           <form action="" method="get" class="col-md-4">
           <input type="hidden" name="c" value="site" />
            <input type="hidden" name="a" value="entry" />
            <input type="hidden" name="m" value="zh_tcwq" />
            <input type="hidden" name="do" value="dmorder" />
            <div class="input-group" style="width: 100px">
                {php echo tpl_form_field_daterange('time',$_GPC['time']);}
                <span class="input-group-btn">
                    <input type="submit" class="btn btn-default" name="submit2" value="查找"/>
                     <input type="hidden" name="token" value="{$_W['token']}"/>
                </span>
            </div><!-- /input-group -->
        </form>
          <!-- <form class="col-lg-2" action="" method="POST">
            <div style="width: 100px">
          
              <input type="submit" class="btn btn-sm btn-success" name="export_submit" value="导出"/>
              <input type="hidden" name="token" value="{$_W['token']}"/>
            
            </div>
                  </form> -->
      </div>    
  </div>
<div class="main">
    <div class="panel panel-default">
      <div class="panel-heading">全部订单</div>
        <div class="table-responsive">
          <table class="col-md-12">
              <tr class="yg5_tr1">
                <th class="store_td1 col-md-1">商家名称</th>
                <th class="col-md-1">付款人</th>
                <th class="col-md-1">付款金额</th>
                <th class="col-md-1">付款时间</th>
              </tr>
              {loop $list $key $item}
              <tr class="yg5_tr2">
                <td>
                {$item['store_name']}
                </td>
                 <td >
                {$item['user_name']}
                </td>      
                <td>
                {$item['money']}
                </td>
                <td>
                {$item['time']}
                </td>
              </tr>
              {/loop}
             
                {if empty($list)}
               <tr>
                  <td colspan="12" style="padding: 10px 30px;">
                    暂无订单信息
                  </td>
                </tr>
             
              {/if}
          </table>
        </div>
    </div>
</div>
<div class="text-right we7-margin-top">{$pager}</div>
<script type="text/javascript">
    $(function(){
        $("#frame-0").show();
        $("#yframe-0").addClass("wyactive");
    })
</script>{template 'common/footer'}